package cn.getech.data.development.mapper;

import cn.getech.data.development.entity.QueueStaticUsedHour;
import cn.getech.data.development.model.dto.QueueStaticUsedHourDto;
import cn.getech.data.development.model.qo.CMClusterSearchTimeQO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface QueueStaticUsedHourMapper extends BaseMapper<QueueStaticUsedHour> {

    void insertBatch(@Param("queueStaticUsedHours") List<QueueStaticUsedHour> queueStaticUsedHours);

    List<QueueStaticUsedHourDto> queryList(@Param("cmClusterSearchTimeQO") CMClusterSearchTimeQO cmClusterSearchTimeQO);
}
